
package com.hlkj.pay.service.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.infrastructure.model.order.OrderSettleDO;

/**
 * @author HlpayTeam
 * @date 2024/12/29 16:55
 */
public interface ISettleOrderService {

    /**
     *
     * @param sn
     * @param cashOrderNo
     * @return
     */
    OrderSettleDO queryByCashOrderNo(String sn, String cashOrderNo);

    /**
     *
     * @param orderDO
     */
    void addAccessAmount(OrderSettleDO orderDO);

    /**
     *
     * @param payOrderNo
     * @return
     */
    OrderSettleDO queryByPayOrderNo(String payOrderNo);

    /**
     * 
     * @param updateAccessAmountOrderDO
     */
    int updateAccessAmountOrder(OrderSettleDO updateAccessAmountOrderDO);
}
